<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>[%$softtitle%]</title>
<link href="templates/css/baselist.css" rel="stylesheet" type="text/css" />
<link href="templates/css/all.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/control.js"></script>
<script type="text/javascript" src="js/form.js"></script>
<script type="text/javascript" src="js/dialog.js"></script>
<script type="text/javascript" language="JavaScript">
	$(document).ready(function(){
		var h = $(window).height();
		$('#mainwindowhidden').css({height:h-39});
	})

	function resetwindow(){
		parent.closeifram();
	}
</script>
</head>

<body>
	<div class="centerrightwindow">
		<form name="filecheck" id="filecheck" method="post" action="#">
			<input type="hidden" name="execute" value="1"/>
			<div id="mainwindowhidden">
				<!--main_start-->
				<div class="suggestion">
					<span class="sugicon"><span class="strong colorgorning2">[%$ST.position_title%]</span><span class="padding-left5 colorgorningage">[%$ST.formmain_preview_mess%]<u>[%$read.formgroupname%]</u></span></span>
				</div>
				<div class="sugtitle-line"></div>
				<div class="formdiv" id="filechecklist">
					<table border="0" width="100%" style="margin-top: 0px;">
						[%forlist from=$attrread key=i%]
						[%if $attrread[i].isline==1%]
						<tr class="trstyle2">
							<td colspan="2" class="trtitle02 bgcolorthree">[%$attrread[i].typename%]</td>
						</tr>
						[%else%]
						<tr class="trstyle2">
							<td class="trtitle01" width="20%">[%$attrread[i].typename%]</td>
							<td class="trtitle02" width="80%">
								[%if $attrread[i].inputtype=='string'%]<input type="text" name="[%$attrread[i].attrname%]" size="[%$attrread[i].attrsize%]" maxlength="[%$attrread[i].attrlenther%]" value="[%$attrread[i].attrvalue%]" class="infoInput"/>[%/if%]
								[%if $attrread[i].inputtype=='int'%]<input type="text" name="[%$attrread[i].attrname%]" size="[%$attrread[i].attrsize%]" maxlength="[%$attrread[i].attrlenther%]" value="[%$attrread[i].attrvalue%]" class="infoInput"/>[%/if%]
								[%if $attrread[i].inputtype=='datetime'%]
									<input type="text" name="[%$attrread[i].attrname%]" size="[%$attrread[i].attrsize%]" value="[%$attrread[i].attrvalue%]" class="infoInput"/>
									<a class="datetime" href="#body">选择日期</a>
								[%/if%]
								[%if $attrread[i].inputtype=='img'%]
									<input type="text" name="[%$attrread[i].attrname%]" size="[%$attrread[i].attrsize%]" value="[%$attrread[i].attrvalue%]" class="infoInput"/>
									<a class="filecheck" href="#body">选择文件</a>
								[%/if%]
								[%if $attrread[i].inputtype=='addon'%]
									<input type="text" name="[%$attrread[i].attrname%]" size="[%$attrread[i].attrsize%]" value="[%$attrread[i].attrvalue%]" class="infoInput"/>
									<a class="filecheck" href="#body">选择文件</a>
								[%/if%]
								[%if $attrread[i].inputtype=='text'%]<textarea name="[%$attrread[i].attrname%]" cols="[%$attrread[i].attrsize%]" rows="[%$attrread[i].attrrow%]" class="infoInput">[%$attrread[i].attrvalue%]</textarea>[%/if%]
								[%if $attrread[i].inputtype=='select'%]
									<select size="1" name="[%$attrread[i].attrname%]">
									[%forlist from=$attrread[i].attrvalue key=ii%]
										<option [%if $attrread[i].attrvalue[ii].selected=='selected'%]selected="selected" [%/if%]value="[%$attrread[i].attrvalue[ii].name%]">[%$attrread[i].attrvalue[ii].name%]</option>
									[%/forlist%]
									</select>
								[%/if%]
								[%if $attrread[i].inputtype=='radio'%]
									[%forlist from=$attrread[i].attrvalue key=ii%]
										<input [%if $attrread[i].attrvalue[ii].selected=='selected'%]checked="checked" [%/if%]name="[%$attrread[i].attrname%]" type="radio" value="[%$attrread[i].attrvalue[ii].name%]" /> [%$attrread[i].attrvalue[ii].name%]
									[%/forlist%]
								[%/if%]
								[%if $attrread[i].inputtype=='checkbox'%]
									[%forlist from=$attrread[i].attrvalue key=ii%]
										<input [%if $attrread[i].attrvalue[ii].selected=='selected'%]checked="checked" [%/if%]name="[%$attrread[i].attrname%]" type="checkbox" value="[%$attrread[i].attrvalue[ii].name%]" /> [%$attrread[i].attrvalue[ii].name%]
									[%/forlist%]
								[%/if%]
								[%if $attrread[i].typeremark!=''%]<span class="cautiontitle">[%$attrread[i].typeremark%]</span>[%/if%]
							</td>
						</tr>
						[%/if%]
						[%/forlist%]
					</table>
				</div>
				<!--main_end-->
			</div>
			<div id="downbotton">
				<div id="subbotton">
					<table border="0" width="100%">
						<tr id="bottonsubmit2">
							<td id="center" colspan="2"><input type="reset" name="reset" value="[%$ST.botton_close%]" onclick="javascript:resetwindow();" class="buttonface"  title="[%$ST.botton_close%]"/></td>
						</tr>
					</table>
				</div>
			</div>
		</form>
	</div>
</body>

</html>
